var mysql = require("mysql");
var settings = {
    host:"localhost",
    database: "hotel",
    user:"root",
    password:"",
    port:3306
};
var pool  = mysql.createPool({
    host     : settings.host,
    database : settings.database,
    user     : settings.user,
    password : settings.password
});

module.exports = pool;